<table>
  <tr>
    <th colspan="1"><h1>All Sectors</h1></th>
  </tr>
  <tr class="heading">
    <td class="width">Sector</td>
  </tr>
  <% for sector in @sectors %>
    <% if sector.jobs.count > 0 %>
      <tr class="<%= cycle('even', 'odd') %>"> 
        <td><a href="/viewsector/<%= sector.id %>"><%= h(sector.name) %></a>&nbsp;<em>(<%= pluralize(sector.jobs.count, 'job') %>)</em></td>
      </tr>
    <% end %>
  <% end %>
</table>